x = 0:0.1:2*pi;
y = sin(x);
y1 = cos(x);
plot(x, y);
hold on;
plot(x,y1);
#text(3, 0.5, '最大值');
#quiver(pi/2, 1, 0.5, 0.5);
title('正弦函数');  #汉字会完全糊掉


#title('what do you do?');
xlabel('X轴');
ylabel('Y轴');
legend('sin(x)');
grid on;



















